/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2019
 */

package com.jzwl.site.manager.complaint.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jzwl.common.page.PageObject;
import com.jzwl.site.manager.complaint.dao.BusinessCircleComplaintDao;

@Service("complaintService")
public class BusinessCircleComplaintService {

	@Autowired
	private BusinessCircleComplaintDao businessCircleComplaintDao;

	public boolean addBusinessCircleComplaint(Map<String, Object> map) {

		return businessCircleComplaintDao.addBusinessCircleComplaint(map);

	}

	public PageObject queryBusinessCircleComplaintList(Map<String, Object> map) {

		return businessCircleComplaintDao.queryBusinessCircleComplaintList(map);

	}

	public boolean updateBusinessCircleComplaint(Map<String, Object> map) {

		return businessCircleComplaintDao.updateBusinessCircleComplaint(map);

	}

	public boolean deleteBusinessCircleComplaint(Map<String, Object> map) {

		return businessCircleComplaintDao.deleteBusinessCircleComplaint(map);

	}

	@SuppressWarnings("unchecked")
	public Map<String, Object> getById(Map<String, Object> map) {

		return businessCircleComplaintDao.getById(map);

	}

}
